Skip to content

Conversation

BoxyUwU
Copy link
Member

@BoxyUwU BoxyUwU commented Aug 21, 2025

I find it consistently confusing that erase_regions does more than replacing regions with 'erased. it also makes some code look real goofy to be writing manual folders to erase regions with a comment saying "we cant use erase regions" :> or code that re-calls erase_regions on types with regions already erased just to anonymize all the bound regions.

r? lcnr

idk how i feel about the name being almost twice as long now

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Aug 21, 2025
@rustbot
Copy link
Collaborator

rustbot commented Aug 21, 2025

HIR ty lowering was modified

cc @fmease

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

Some changes occurred to the CTFE / Miri interpreter

cc @rust-lang/miri

Some changes occurred in match checking

cc @Nadrieril

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

Some changes occurred to the CTFE / Miri interpreter

cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

Some changes occurred to the core trait solver

cc @rust-lang/initiative-trait-system-refactor

Some changes occurred to the CTFE machinery

cc @RalfJung, @oli-obk, @lcnr

@rust-log-analyzer

This comment has been minimized.

@BoxyUwU BoxyUwU closed this Aug 22, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 22, 2025
@BoxyUwU BoxyUwU reopened this Aug 22, 2025
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 22, 2025
Copy link
Contributor

@lcnr lcnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a bunch of driveby cleanups

r=me

I think the name being longer is fine :3

View changes since this review

@BoxyUwU BoxyUwU force-pushed the erase_regions_rename branch from 1c18aa3 to 1347fee Compare August 22, 2025 11:24
@rust-log-analyzer

This comment has been minimized.

@BoxyUwU BoxyUwU force-pushed the erase_regions_rename branch 2 times, most recently from 14233ac to 300c85e Compare August 24, 2025 16:58
@rustbot

This comment has been minimized.

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Aug 25, 2025

@bors r=lcnr rollup=never

@bors
Copy link
Collaborator

bors commented Aug 25, 2025

📌 Commit 300c85e has been approved by lcnr

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 25, 2025
bors added a commit that referenced this pull request Aug 25, 2025
rename erase_regions to erase_and_anonymize_regions

I find it consistently confusing that `erase_regions` does more than replacing regions with `'erased`. it also makes some code look real goofy to be writing manual folders to erase regions with a comment saying "we cant use erase regions" :> or code that re-calls erase_regions on types with regions already erased just to anonymize all the bound regions.

r? lcnr

idk how i feel about the name being almost twice as long now
@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 25, 2025
@bors
Copy link
Collaborator

bors commented Aug 26, 2025

☔ The latest upstream changes (presumably #145711) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 26, 2025
@jieyouxu
Copy link
Member

Merge conflicts.
@bors r-

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Aug 29, 2025

:(

@lcnr lcnr force-pushed the erase_regions_rename branch from 300c85e to 8cde544 Compare September 9, 2025 12:49
@rustbot
Copy link
Collaborator

rustbot commented Sep 9, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@lcnr
Copy link
Contributor

lcnr commented Sep 9, 2025

@bors r=lcnr rollup=iffy

@bors
Copy link
Collaborator

bors commented Sep 9, 2025

📌 Commit 8cde544 has been approved by lcnr

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 9, 2025
@bors
Copy link
Collaborator

bors commented Sep 9, 2025

⌛ Testing commit 8cde544 with merge 364da5d...

@bors
Copy link
Collaborator

bors commented Sep 9, 2025

☀️ Test successful - checks-actions
Approved by: lcnr
Pushing 364da5d to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 9, 2025
@bors bors merged commit 364da5d into rust-lang:master Sep 9, 2025
11 checks passed
@rustbot rustbot added this to the 1.91.0 milestone Sep 9, 2025
Copy link
Contributor

github-actions bot commented Sep 9, 2025

What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing be8de5d (parent) -> 364da5d (this PR)

Test differences

Show 8 test diffs

8 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 364da5d88d772fa40fb20353443595385443ac25 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. dist-aarch64-apple: 5899.9s -> 8344.1s (41.4%)
  2. aarch64-apple: 6730.6s -> 4547.4s (-32.4%)
  3. pr-check-1: 1373.7s -> 1776.8s (29.3%)
  4. dist-apple-various: 4389.4s -> 3196.5s (-27.2%)
  5. x86_64-gnu-llvm-19: 2433.5s -> 2825.7s (16.1%)
  6. x86_64-gnu-aux: 6319.7s -> 7281.2s (15.2%)
  7. pr-check-2: 2136.2s -> 2445.1s (14.5%)
  8. x86_64-gnu-llvm-20-1: 3219.9s -> 3605.4s (12.0%)
  9. arm-android: 5712.7s -> 6372.4s (11.5%)
  10. aarch64-gnu-debug: 3714.2s -> 4128.7s (11.2%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (364da5d): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 467.841s -> 468.052s (0.05%)
Artifact size: 387.52 MiB -> 387.52 MiB (-0.00%)

nilotpal-n7 pushed a commit to nilotpal-n7/rust that referenced this pull request Sep 9, 2025
rename erase_regions to erase_and_anonymize_regions

I find it consistently confusing that `erase_regions` does more than replacing regions with `'erased`. it also makes some code look real goofy to be writing manual folders to erase regions with a comment saying "we cant use erase regions" :> or code that re-calls erase_regions on types with regions already erased just to anonymize all the bound regions.

r? lcnr

idk how i feel about the name being almost twice as long now
tautschnig added a commit to tautschnig/kani that referenced this pull request Sep 10, 2025
Relevant upstream PR:
- rust-lang/rust#145717 (rename erase_regions to
erase_and_anonymize_regions)

Resolves: model-checking#4353
github-merge-queue bot pushed a commit to model-checking/kani that referenced this pull request Sep 10, 2025
Relevant upstream PR:
- rust-lang/rust#145717 (rename erase_regions to
erase_and_anonymize_regions)

Resolves: #4353

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants